package demo4;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * Author:  LiuTao
 * Version: 1.0
 * Date:    2023-08-29  13:51
 */
public class Test {
    public static void main(String[] args) {
        String str = ",,";
        String str1[] = str.split(" ");
        System.out.println(str1.length);
        }

}
